print operation: Fix compiler warnings
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2015 01:28:08 +0000 (21:28 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Jun 2015 13:08:15 +0000 (09:08 -0400)
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

gtk/gtkprintoperation.c

index 057430b4127ee2a99ad4f4c6229878760e27a557..929cdafea61988482c2f2aa6dd4a1a6ef7f8065f 100644 (file)
@@ -2506,7 +2506,6 @@ common_render_page (GtkPrintOperation *op,
   else
     {
       GtkPageOrientation  orientation;
-      GtkPageSetup       *page_setup;
       gdouble             paper_width, paper_height;
       gdouble             page_width, page_height;
       gdouble             context_width, context_height;